\hypertarget{class_qext_serial_port}{}\section{Qext\+Serial\+Port Class Reference}
\label{class_qext_serial_port}\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}}
Inheritance diagram for Qext\+Serial\+Port\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_qext_serial_port}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_qext_serial_port_a211f50c9fa3b22235b2dbfa0126c125a}\label{class_qext_serial_port_a211f50c9fa3b22235b2dbfa0126c125a}} 
typedef Qext\+Serial\+Base\+::\+Query\+Mode {\bfseries Query\+Mode}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_qext_serial_port_a6aba59fc97222d64653f94c491747ffd}{Qext\+Serial\+Port}} ()
\item 
\mbox{\hyperlink{class_qext_serial_port_ada4e210fc8b01ffee3f91847751a5e0f}{Qext\+Serial\+Port}} (const Q\+String \&name, Query\+Mode mode=Qext\+Serial\+Port\+::\+Polling)
\item 
\mbox{\hyperlink{class_qext_serial_port_a08fc39acb695564a8672d544915ccccf}{Qext\+Serial\+Port}} (\mbox{\hyperlink{struct_port_settings}{Port\+Settings}} const \&s, Query\+Mode mode=Qext\+Serial\+Port\+::\+Polling)
\item 
\mbox{\hyperlink{class_qext_serial_port_aa8272c9478e2cc8b3741e538179dc57b}{Qext\+Serial\+Port}} (const Q\+String \&name, \mbox{\hyperlink{struct_port_settings}{Port\+Settings}} const \&s, Query\+Mode mode=Qext\+Serial\+Port\+::\+Polling)
\item 
\mbox{\hyperlink{class_qext_serial_port_a207af0672a6a954e6621933e93b9923e}{Qext\+Serial\+Port}} (const \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \&s)
\item 
\mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \& \mbox{\hyperlink{class_qext_serial_port_a00aa39b59db50b6fe07bc222b4227f84}{operator=}} (const \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \&)
\item 
virtual \mbox{\hyperlink{class_qext_serial_port_a0712978a092762f69f308df7372e3f7a}{$\sim$\+Qext\+Serial\+Port}} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Stefan Sander 

Michal Policht
\end{DoxyAuthor}
A cross-\/platform serial port class. This class encapsulates a serial port on both P\+O\+S\+IX and Windows systems. The user will be notified of errors and possible portability conflicts at run-\/time by default -\/ this behavior can be turned off by defining {\itshape T\+T\+Y\+\_\+\+N\+O\+W\+A\+RN} (to turn off all warnings) or {\itshape T\+T\+Y\+\_\+\+N\+O\+W\+A\+R\+N\+\_\+\+P\+O\+RT} (to turn off portability warnings) in the project.

You may choose from polling or event driven A\+PI. For details check set\+Query\+Mode() documentation.

\begin{DoxyNote}{Note}
On Windows N\+T/2000/\+XP this class uses Win32 serial port functions by default. The user may select P\+O\+S\+IX behavior under NT, 2000, or XP O\+N\+LY by defining {\itshape T\+T\+Y\+\_\+\+P\+O\+S\+IX} in the project. I can make no guarantees as to the quality of P\+O\+S\+IX support under N\+T/2000 however. 
\end{DoxyNote}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_qext_serial_port_a6aba59fc97222d64653f94c491747ffd}\label{class_qext_serial_port_a6aba59fc97222d64653f94c491747ffd}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{Qext\+Serial\+Port()}{QextSerialPort()}\hspace{0.1cm}{\footnotesize\ttfamily [1/5]}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::\+Qext\+Serial\+Port (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Default constructor. Note that the naming convention used by a \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} constructed with this constructor will be determined by \#defined constants, or lack thereof -\/ the default behavior is the same as {\itshape T\+T\+Y\+\_\+\+L\+I\+N\+UX}. Possible naming conventions and their associated constants are\+:

\begin{DoxyVerb}Constant         Used By         Naming Convention
----------       -------------   ------------------------
_TTY_WIN_        Windows         COM1, COM2
_TTY_IRIX_       SGI/IRIX        /dev/ttyf1, /dev/ttyf2
_TTY_HPUX_       HP-UX           /dev/tty1p0, /dev/tty2p0
_TTY_SUN_        SunOS/Solaris   /dev/ttya, /dev/ttyb
_TTY_DIGITAL_    Digital UNIX    /dev/tty01, /dev/tty02
_TTY_FREEBSD_    FreeBSD         /dev/ttyd0, /dev/ttyd1
_TTY_LINUX_      Linux           /dev/ttyS0, /dev/ttyS1
<none>           Linux           /dev/ttyS0, /dev/ttyS1
\end{DoxyVerb}


The object will be associated with the first port in the system, e.\+g. C\+O\+M1 on Windows systems. See the other constructors if you need to use a port other than the first. \mbox{\Hypertarget{class_qext_serial_port_ada4e210fc8b01ffee3f91847751a5e0f}\label{class_qext_serial_port_ada4e210fc8b01ffee3f91847751a5e0f}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{Qext\+Serial\+Port()}{QextSerialPort()}\hspace{0.1cm}{\footnotesize\ttfamily [2/5]}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::\+Qext\+Serial\+Port (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name,  }\item[{Query\+Mode}]{mode = {\ttfamily QextSerialPort\+:\+:Polling} }\end{DoxyParamCaption})}

Constructs a serial port attached to the port specified by name. name is the name of the device, which is windowsystem-\/specific, e.\+g.\char`\"{}\+C\+O\+M1\char`\"{} or \char`\"{}/dev/tty\+S0\char`\"{}.

\begin{DoxySeeAlso}{See also}
set\+Query\+Mode(). 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_qext_serial_port_a08fc39acb695564a8672d544915ccccf}\label{class_qext_serial_port_a08fc39acb695564a8672d544915ccccf}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{Qext\+Serial\+Port()}{QextSerialPort()}\hspace{0.1cm}{\footnotesize\ttfamily [3/5]}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::\+Qext\+Serial\+Port (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_port_settings}{Port\+Settings}} const \&}]{settings,  }\item[{Query\+Mode}]{mode = {\ttfamily QextSerialPort\+:\+:Polling} }\end{DoxyParamCaption})}

Constructs a port with default name and settings specified by the settings parameter.

\begin{DoxySeeAlso}{See also}
set\+Query\+Mode(). 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_qext_serial_port_aa8272c9478e2cc8b3741e538179dc57b}\label{class_qext_serial_port_aa8272c9478e2cc8b3741e538179dc57b}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{Qext\+Serial\+Port()}{QextSerialPort()}\hspace{0.1cm}{\footnotesize\ttfamily [4/5]}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::\+Qext\+Serial\+Port (\begin{DoxyParamCaption}\item[{const Q\+String \&}]{name,  }\item[{\mbox{\hyperlink{struct_port_settings}{Port\+Settings}} const \&}]{settings,  }\item[{Query\+Mode}]{mode = {\ttfamily QextSerialPort\+:\+:Polling} }\end{DoxyParamCaption})}

Constructs a port with the name and settings specified.

\begin{DoxySeeAlso}{See also}
set\+Query\+Mode(). 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_qext_serial_port_a207af0672a6a954e6621933e93b9923e}\label{class_qext_serial_port_a207af0672a6a954e6621933e93b9923e}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{Qext\+Serial\+Port()}{QextSerialPort()}\hspace{0.1cm}{\footnotesize\ttfamily [5/5]}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::\+Qext\+Serial\+Port (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \&}]{s }\end{DoxyParamCaption})}

Copy constructor.

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000001}{Deprecated}}]\end{DoxyRefDesc}
\mbox{\Hypertarget{class_qext_serial_port_a0712978a092762f69f308df7372e3f7a}\label{class_qext_serial_port_a0712978a092762f69f308df7372e3f7a}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!````~Qext\+Serial\+Port@{$\sim$\+Qext\+Serial\+Port}}
\index{````~Qext\+Serial\+Port@{$\sim$\+Qext\+Serial\+Port}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{$\sim$\+Qext\+Serial\+Port()}{~QextSerialPort()}}
{\footnotesize\ttfamily Qext\+Serial\+Port\+::$\sim$\+Qext\+Serial\+Port (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

Standard destructor. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_qext_serial_port_a00aa39b59db50b6fe07bc222b4227f84}\label{class_qext_serial_port_a00aa39b59db50b6fe07bc222b4227f84}} 
\index{Qext\+Serial\+Port@{Qext\+Serial\+Port}!operator=@{operator=}}
\index{operator=@{operator=}!Qext\+Serial\+Port@{Qext\+Serial\+Port}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \& Qext\+Serial\+Port\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_qext_serial_port}{Qext\+Serial\+Port}} \&}]{s }\end{DoxyParamCaption})}

Overrides the = operator.

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000002}{Deprecated}}]\end{DoxyRefDesc}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/qextserialport/qextserialport.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/network/qextserialport/qextserialport.\+cpp\end{DoxyCompactItemize}
